package com.wecan.base.PO;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.wecan.base.PO.base.BasePO;
import com.wecan.base.PO.base.CreateUserPO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @Author liuzhihao
 * @Date 2022.01.15
 * @Version 1.0.0
 * @Description oss文件存储
 */
@Data
@Schema(title = "oss存储索引", description = "oss文件的索引存储,用来记录文件是否真的被用")
public class Oss extends CreateUserPO {

    @Schema(title = "oss存储key")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String uniqueKey;

    @Schema(title = "oss文件索引数量")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer count;

    @Schema(title = "oss文件名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String name;
}
